<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>

<script type="text/javascript">
	function courseChange() {

		document.getElementById("stateSelectForm").action = "http://localhost:8080/mmtService/MyServlet?mode=L&username=18813090630&password=195324";
		document.getElementById("stateSelectForm").submit();
		valueReturned = 1;
		loc3 = 99;
		//alert(loc3=valueReturned);
		if ((loc3 = valueReturned == 1) == true) {
			alert("true==1是可以判定的aaaa");

		}

	}
</script>
<body>


	<form class="form-horizontal" id="stateSelectForm" method="post">
		<div class="form-group">
			<label class="col-sm-2 control-label">课程筛选：</label>
			<div class="col-sm-6">
				<select class="form-control" name="course" id="stateSelect"
					onchange="courseChange()">
					<option value="0">fuck</option>
					<option value="1">it</option>
					<option value="2">bitch</option>
				</select>
			</div>
		</div>
	</form>
</body>
</html>

